﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SendMarking.aspx.cs" Inherits="SendLeaderMarking.SendMarking" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>送领导批阅</title>
    <link href="../CSS/style.css" rel="stylesheet" rev="stylesheet" />
    <link href="../CSS/global.css" rel="stylesheet" rev="stylesheet" />
    <style type="text/css">
            #range
            {
                float:left;
            }
            .chooseUser
            {
                width:180px;
            }
            .textArea
            {
                width:480px;
                height:50px;
            }
            .CommonMsg
            {
                width:480px;
            }
    </style>
    <script type="text/javascript" language="javascript">
        function openWindow(username) {
            var width = 500;
            var height = 100;
            var left, top;
            left = (window.screen.availWidth - width) / 2;
            top = (window.screen.availHeight - height) / 2;
            var per = 'width=' + width + ',height=' + height + ',left=' + left + ',top=' + top + ',screenX=' + left + ',screenY=' + top+'toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no';
            var url = "Success.aspx?username=" + username;
            window.open(url, '', per);
        }
    </script>
</head>
<body>
    <form id="SendForm" runat="server">
    <div id="top">
        <div class="titile">请选择审批人</div>
        <div>
            <div id="range">
                <asp:RadioButton ID="rbtnSupervisor" runat="server" GroupName="range"  AutoPostBack="true"
                    Text="室主管" oncheckedchanged="rbtnSupervisor_CheckedChanged"/>
                <br />
                <asp:RadioButton ID="rbtnSubDeptManger" runat="server" GroupName="range" AutoPostBack="true"
                    Text="二级部门领导" oncheckedchanged="rbtnSubDeptManger_CheckedChanged" />
                <br />
                <asp:RadioButton ID="rbtnDeptManger" runat="server" GroupName="range" AutoPostBack="true"
                    Text="部门领导" oncheckedchanged="rbtnDeptManger_CheckedChanged" />
                <br />
                <asp:RadioButton ID="rbtnManger" runat="server" GroupName="range" AutoPostBack="true" Text="公司领导" 
                    oncheckedchanged="rbtnManger_CheckedChanged" />
            </div>
            <div>
                <table>
                    <tr>
                        <td>
                            <asp:ListBox ID="lbLeft" runat="server" CssClass="chooseUser"></asp:ListBox>
                        </td>
                        <td>
                            <asp:Button ID="btnAdd" runat="server" Text="添加" OnClick="btnAdd_Click" />
                            <br />
                            <asp:Button ID="btnDel" runat="server" Text="删除" OnClick="btnDel_Click"/>
                        </td>
                        <td>
                            <asp:ListBox ID="lbRight" runat="server" CssClass="chooseUser"></asp:ListBox>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <div id="mid">
        <table>
            <tr>
                <td>常用附言</td>
                <td><asp:DropDownList ID="ddlCommonMsg" runat="server" CssClass="CommonMsg"></asp:DropDownList></td>
            </tr>
            <tr>
                <td>附言</td>
                <td><asp:TextBox ID="txtMsg" runat="server" CssClass="textArea" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>注：附言最大为100汉字。</td>
            </tr>
        </table>
    </div>
    <div id="bot">
        <asp:Button ID="btnConfirm" runat="server" Text="确认" OnClick="btnConfirm_Click" />
        <asp:Button ID="btnCancel" runat="server" Text="取消" />
    </div>
    </form>
</body>
</html>
